package com.tydic.springboot.excel.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 字典项目表
 *
 * @author hq
 * @date 2022-03-09 11:16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "字典项目表实体")
public class SysDictItem {

    @ApiModelProperty(value = "字典id", position = 3)
    private String dictId;

    @Excel(name = "字典项文本", width = 20)
    @ApiModelProperty(value = "字典项文本", position = 4)
    private String itemText;

    @Excel(name = "字典项值", width = 30)
    @ApiModelProperty(value = "字典项值", position = 5)
    private String itemValue;

    public SysDictItem() {
    }

    public SysDictItem(String dictId, String itemText, String itemValue) {
        this.dictId = dictId;
        this.itemText = itemText;
        this.itemValue = itemValue;
    }

}
